import React from 'react';
import AmapPositionPicker from '@antelopecloud/components/lib/AmapPositionPicker';

const AmapPositionPickerExample = () => {
  const a_b = 1;

  console.log(a_b);

  return (
    <AmapPositionPicker
      id="__ly-amap__"
      height={500}
      initialPosition={[113.936028, 22.524462]}
      onGeoChange={(item: any) => {
        console.log(item);
      }}
    />
  );
};

export default AmapPositionPickerExample;
